12 Java Security > 12.5 Create a Java Security Environment Step by Step > 12.5.3 Create Java Security Commands

12.5.3
For producing the java security commands the tool “jseccmd.jar” can be used. This program is in the folder “wkt\bin”.
Command for inserting the Customer Root Certificate
-
In consequence of the command
Java security mode: ON (untrusted domain OFF)
HTTPS certificate verification: OFF
MES state: ON
Command for removing the Customer Root Certificate
-
In consequence of the command all switches are reset
Java security mode: OFF (untrusted domain OFF)
HTTPS certificate verification: OFF
MES state: ON
 
Command: switch on Java Security Mode
Command: switch off Java Security Mode
java -jar jseccmd.jar -cmd TrustedModeOff
-imei 012345678901234 -alias keyname
Command: switch on Untrusted Domain (it is possible only inside of the Java Security Mode)
-storepass keystorepassword -keypass keypassword
-keystore customer.ks > UntrustedDomainOn.bin
Command: switch off Untrusted Domain
Command: switch on Certificate Verification for HTTPS Connections
Command: switch off Certificate Verification for HTTPS Connections
Command: switch on module exchange functionality
-imei 012345678901234 -alias keyname
-storepass keystorepassword -keypass keypassword
Command: switch off module exchange functionality
-imei 012345678901234 -alias keyname
-storepass keystorepassword -keypass keypassword